package com.gxuwz.bignews.model.entity;

public class User {
    private String phone;
    private String username;
    private String password;
    private String avatar;

    public User(String phone, String username, String password, String avatar) {
        this.phone = phone;
        this.username = username;
        this.password = password;
        this.avatar = avatar;
    }

    public User(String phone, String username, String password) {
        this(phone, username, password, "cat");
    }

    public String getPhone() { return phone; }
    public void setPhone(String phone) { this.phone = phone; }

    public String getUsername() { return username; }
    public void setUsername(String username) { this.username = username; }

    public String getPassword() { return password; }
    public void setPassword(String password) { this.password = password; }

    public String getAvatar() { return avatar; }
    public void setAvatar(String avatar) { this.avatar = avatar; }
} 